<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Comments extends Model
{
    protected $table = 'comments';
    public $fillable = ['cid', 'uid', 'content'];

    public function user()
    {
        return $this->belongsTo('App\Model\User', 'uid', 'id');
    }
}